package cn.stylefeng.guns.modular.auth.service.impl;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;

/**
 * @author allen
 * @version 1.0
 * @date 2021/4/12 20:02
 */
public class TestA {

    public static void main(String[] args) {


        ArrayList<String> list = new ArrayList<>();
        list.add("000A");
        list.add("000B");
        list.add("111C");
        list.add("000D");

        list.forEach(item->{
            if (!item.startsWith("000")) {
                int i = qYue();
                inDataSourse(i);
            }
        });


    }

    private static void inDataSourse(int i) {
    }

    public static int qYue() {
        Random random = new Random();
        return random.nextInt(100);

    }


}
